package com.example.demo.utils;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;


@Component
public class MyJobHandler  {

    @XxlJob("demoJobHandler")
    public ReturnT<String> demoJobHandler(String param) throws Exception {
        System.out.println("我们不能失去信仰" + param);
        return ReturnT.SUCCESS;
    }
}
